#include <d3d9.h>
#pragma once

#define	FVF_TEX	 D3DFVF_XYZ | D3DFVF_DIFFUSE | D3DFVF_TEX1


class CVertex
{

public :

	CVertex();
	CVertex(float fx, float fy, float fz, float fu, float fv);
	CVertex(float fx, float fy, float fz);

	float		_x;			//x - position
	float		_y;			//y - position
	float		_z;			//z - position
	ULONG		_diffuse;	//Color
	float		_u;			//Texture u coordinate
	float		_v;			//Texture v coordinate
	
};